package com.dhcy.mqtt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcy.mqtt.model.Equipment;
import com.dhcy.mqtt.par.ht.EquipmentAddPar;
import com.dhcy.mqtt.par.ht.EquipmentListPar;
import com.dhcy.mqtt.result.ht.TableResultData;
import com.dhcy.mqtt.util.AppResultData;

import java.util.List;


public interface EquipmentService extends IService<Equipment> {
    /**
     * 新增设备
     * @param equipmentaddPar
     * @return
     */
    AppResultData equipmentAdd(EquipmentAddPar equipmentaddPar);

    /**
     * 设备列表
     * @param equipmentListPar
     * @return
     */
    TableResultData equipmentList(EquipmentListPar equipmentListPar);

    /**
     * 删除
     * @param id
     * @return
     */
    AppResultData equipmentDel(Integer id);

}
